src/config/config.d(346,13): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. src/config/util.d(16,1): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. src/config/util.d(40,1): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. src/config/config.d(108,28): Error: `@safe` function `config.config.Config.read` cannot call `@system` function `std.stdio.File.byLineCopy!(string, immutable(char)).byLineCopy` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/stdio.d(2444,10): `std.stdio.File.byLineCopy!(string, immutable(char)).byLineCopy` is declared here src/config/util.d(586,30): Error: `@safe` function `config.util.IncludeHandlerImpl!(Result).IncludeHandlerImpl.front` cannot call `@system` function `config.util.IncludeHandlerImpl!(Result).IncludeHandlerImpl.check` src/config/util.d(611,18): `config.util.IncludeHandlerImpl!(Result).IncludeHandlerImpl.check` is declared here src/config/util.d(601,26): Error: `@safe` function `config.util.IncludeHandlerImpl!(Result).IncludeHandlerImpl.popFront` cannot call `@system` function `config.util.IncludeHandlerImpl!(Result).IncludeHandlerImpl.check` src/config/util.d(611,18): `config.util.IncludeHandlerImpl!(Result).IncludeHandlerImpl.check` is declared here src/config/util.d(607,18): Error: `@safe` function `config.util.IncludeHandlerImpl!(Result).IncludeHandlerImpl.popFront` cannot call `@system` function `config.util.IncludeHandlerImpl!(Result).IncludeHandlerImpl.check` src/config/util.d(611,18): `config.util.IncludeHandlerImpl!(Result).IncludeHandlerImpl.check` is declared here src/config/util.d(527,45): Error: template instance `config.util.IncludeHandlerImpl!(Result)` error instantiating src/config/util.d(507,35): instantiated from here: `makeIncludeHandler!(Result)` src/config/util.d(498,12): instantiated from here: `HandleIncludeDirsResult!(Result)` src/config/config.d(110,35): instantiated from here: `handleIncludeDirs!(Result)` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/internal/ir.d(525,41): Error: `@safe` function `std.regex.internal.ir.RuntimeFactory!(BacktrackingMatcher, char).RuntimeFactory.construct` cannot call `@system` function `std.conv.emplace!(EngineType!(char, Input!char), const(Regex!char), Input!char, void[]).emplace` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/conv.d(4724,3): `std.conv.emplace!(EngineType!(char, Input!char), const(Regex!char), Input!char, void[]).emplace` is declared here /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/internal/parser.d(36,28): Error: template instance `std.regex.internal.ir.RuntimeFactory!(BacktrackingMatcher, char)` error instantiating /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/internal/parser.d(1025,25): instantiated from here: `makeRegex!(string, CodeGen)` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/package.d(443,19): instantiated from here: `Parser!(string, CodeGen)` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/package.d(391,25): instantiated from here: `regexImpl!string` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/package.d(399,17): ... (6 instantiations, -v to show) ... src/config/util.d(498,12): instantiated from here: `HandleIncludeDirsResult!(Result)` src/config/config.d(110,35): instantiated from here: `handleIncludeDirs!(Result)` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/internal/ir.d(525,41): Error: `@safe` function `std.regex.internal.ir.RuntimeFactory!(ThompsonMatcher, char).RuntimeFactory.construct` cannot call `@system` function `std.conv.emplace!(EngineType!(char, Input!char), const(Regex!char), Input!char, void[]).emplace` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/conv.d(4724,3): `std.conv.emplace!(EngineType!(char, Input!char), const(Regex!char), Input!char, void[]).emplace` is declared here /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/internal/parser.d(38,27): Error: template instance `std.regex.internal.ir.RuntimeFactory!(ThompsonMatcher, char)` error instantiating /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/internal/parser.d(1025,25): instantiated from here: `makeRegex!(string, CodeGen)` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/package.d(443,19): instantiated from here: `Parser!(string, CodeGen)` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/package.d(391,25): instantiated from here: `regexImpl!string` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/package.d(399,17): ... (6 instantiations, -v to show) ... src/config/util.d(498,12): instantiated from here: `HandleIncludeDirsResult!(Result)` src/config/config.d(110,35): instantiated from here: `handleIncludeDirs!(Result)` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/internal/ir.d(536,41): Error: `@safe` function `std.regex.internal.ir.CtfeFactory!(BacktrackingMatcher, char, func).CtfeFactory.construct` cannot call `@system` function `std.conv.emplace!(EngineType!(char, Input!char), const(Regex!char), bool function(EngineType!(char, Input!char) matcher) @trusted, Input!char, void[]).emplace` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/conv.d(4724,3): `std.conv.emplace!(EngineType!(char, Input!char), const(Regex!char), bool function(EngineType!(char, Input!char) matcher) @trusted, Input!char, void[]).emplace` is declared here /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/package.d(472,43): Error: template instance `std.regex.internal.ir.CtfeFactory!(BacktrackingMatcher, char, func)` error instantiating /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/package.d(507,54): instantiated from here: `ctRegexImpl!("^\\s*@include\\s*\"(.*)\"\\s*$", [])` src/config/util.d(625,19): instantiated from here: `ctRegex!("^\\s*@include\\s*\"(.*)\"\\s*$", [])` src/config/util.d(527,45): instantiated from here: `IncludeHandlerImpl!(Result)` src/config/util.d(507,35): ... (1 instantiations, -v to show) ... src/config/util.d(498,12): instantiated from here: `HandleIncludeDirsResult!(Result)` src/config/config.d(110,35): instantiated from here: `handleIncludeDirs!(Result)` src/config/util.d(527,45): Error: template instance `config.util.IncludeHandlerImpl!(LineSplitter!(cast(Flag)false, string))` error instantiating src/config/util.d(639,46): instantiated from here: `makeIncludeHandler!(LineSplitter!(cast(Flag)false, string))` src/config/util.d(527,45): instantiated from here: `IncludeHandlerImpl!(Result)` src/config/util.d(507,35): instantiated from here: `makeIncludeHandler!(Result)` src/config/util.d(498,12): instantiated from here: `HandleIncludeDirsResult!(Result)` src/config/config.d(110,35): instantiated from here: `handleIncludeDirs!(Result)` src/config/util.d(527,45): Error: template instance `config.util.IncludeHandlerImpl!(Result)` error instantiating src/config/util.d(507,35): instantiated from here: `makeIncludeHandler!(Result)` src/config/util.d(498,12): instantiated from here: `HandleIncludeDirsResult!(Result)` src/config/config.d(124,35): instantiated from here: `handleIncludeDirs!(Result)` src/config/setting.d(146,16): Error: cast from `inout(Setting)` to `config.setting.ScalarSetting` not allowed in safe code src/config/setting.d(149,16): Error: cast from `inout(Setting)` to `config.setting.ArraySetting` not allowed in safe code src/config/setting.d(152,16): Error: cast from `inout(Setting)` to `config.setting.ListSetting` not allowed in safe code src/config/setting.d(155,16): Error: cast from `inout(Setting)` to `config.setting.GroupSetting` not allowed in safe code src/config/config.d(494,27): Error: template instance `config.config.Config.Writer.writeValue!(Appender!string)` error instantiating /opt/dmd-safe/dmd/dmd-safe failed with exit code 1.